package com.yunyi.integration.service.polymorphism;

import org.springframework.stereotype.Component;

/**
 * 测试类1
 *
 * @author donghao
 */
@Component("polymorphismServiceTwo")
public class PolymorphismServiceTwoImpl implements AbsPolymorphismService {
    @Override
    public void doSomething(String name) {
        System.out.println("Two启动:" + name);
    }

    @Override
    public String getName() {
        return "two";
    }
}
